import axios from './http'

export function addClient(params) {
    return axios.post('/client/add', params)
}

export function findClient() {
    return axios.get('/client/queryAll')
}

export function findClientBySearch(name, phone, time1, time2) {
    return axios.get('/client/queryByCondition' + '?name=' + name + '&phone=' + phone + '&time1=' + time1 + '&time2=' + time2)
}